// listsilce.js
import ajax from './utils/ajax.js'

var silcelist = []

ajax.ajax()
  .then(res => {
    silcelist = res.data
  })

const silcepage=(id,size)=>{
 
 
  const newlist = silcelist.slice((id * size), (id * size+size))
  return newlist
}

export default silcepage